package com.xnf.ssmweb.service;

import com.xnf.ssmweb.domain.UserInfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * Created by chendx on 2021/3/30.
 */
public interface UserInfoService extends UserDetailsService {

    List<UserInfo> queryUserInfos();

    UserInfo queryUserById(Long id);

    boolean saveUserInfo(UserInfo userInfo);

    boolean addRoleToUser(String[] roleIds,Long userId);
}
